package com.huadao.cart_ccs.experiment.preprocessing;

import com.huadao.cart_ccs.base.BasePresenter;
import com.huadao.cart_ccs.base.BaseView;

public interface PreprocessingContract {
    interface IPreprocessingView extends BaseView {
        void onCheckInputPump(int state);

        void onCheckCiriclingPump(int state);

        void onCheckWastePump(int state);

        void onCheckReclaimPump(int state);

        //        void onCheckStirrer(MagneticStirrerBO magneticStirrerBO);
        void onCheckLiquidLevelMeter(int state);

        void onCheckWeight(int state);

        void onCheckTemperature(int state);

        void onCheckCO2(int state);

        void onCheckO2(int state);

        void summaryDeviceSelfCheck();

        void onReadDoorSucc(String status);

        void onOpenDoorSucc();

        void onCloseDoorSucc();

        void onInitPeelSucc(byte[] ad);

        void onSetCO2();

        void onSetO2();

        void onSetTemperature();

        void onFirstWeight(double weight);

        void onFirstWeightFailed();
    }

    abstract class IPreprocessingPresenter extends BasePresenter<IPreprocessingView> {
        abstract void checkAll();

        //检查进液泵
        abstract void checkFeedLiquorPump();

        abstract void checkLiquidLevelMeter();

        abstract void checkWeight();

        abstract void checkTemperature();

        abstract void checkCO2();

        abstract void checkO2();

        abstract void openDoor();

        abstract void closeDoor();

        abstract void readDoor();

        public abstract void initPeel();

        abstract void setCO2();

        abstract void setO2();

        abstract void setTemperature();

        public abstract void openAirPump();

        abstract int getLeftChangeAirTime();

        public abstract void firstWeight();
    }
}
